home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
printing
/
prtset.arc
/
README
< prev
Wrap
Text File
|
1989-03-30
|
1KB
|
27 lines
This is a small utility, meant mostly for shell scripts, but also for
an interactive use, which main purpose is to send all kind of weird
initialization codes to a printer. For example, when I am printing
.dvi files produced by TeX I am using the following two Gulam aliases,
which include some of MY printer magic, initialize system and printer
properly and restore printer to a sane (more or less) state after dvi
driver is finished.
dvi prtset -s -h1b\8 ; dvc
dvc pushd d:\texbin ; gem dvi.prg ; prtset -c -h1b401b\M1b\90d ; popd
I am using command 'dvi' to start my previewer, with printer off, or to
print on a single-sheet paper, and command 'dvc' to print on a
continous one. The other role of a prtset program is to set and check
proper configuration codes in situation when keeping around in memory
fat control.acc is not exactly what you would really want to do. When
printer is not on line 'prtset' just returns. It is written in
assembler, since I wanted it to be really small. I bet that you will
find also some other ways to use it.
Enjoy,
Michal Jaegermann
Myrias Research Corporation
Edmonton, Alberta, CANADA
myrias!mj@alberta